Probe for GNU parallel more accurately
authorSimon McVittie <smcv@debian.org>
Thu, 31 Mar 2016 13:32:55 +0000 (14:32 +0100)
committerColin Walters (automation) <walters+githubbot@verbum.org>
Thu, 31 Mar 2016 14:22:06 +0000 (14:22 +0000)
commit9dafc820241ed6e663ad4093660fc255f549aa26
tree655421fca817d4d5c38707fdfb14411607bb0036
parent8cda8b6866f86ffdda8622c9108e949d0ed6c27f
Probe for GNU parallel more accurately

moreutils parallel isn't compatible with the command-line syntax
used here. Because it doesn't implement GNU-style --help and exits 1
when that option is given, this test was correctly skipped when
using moreutils parallel, but only by mistake.

moreutils parallel might conceivably gain --help and --version in
future, but hopefully nothing incompatible with GNU parallel is going
to gain a --gnu option.

Also use the --gnu option to force the new command-line semantics;
some versions optionally supported an incompatible command-line syntax
taken from moreutils parallel.

Signed-off-by: Simon McVittie <smcv@debian.org>
Closes: #232
Approved by: cgwalters
tests/test-admin-locking.sh